package com.ucap.weking.guangan.dataUri;

/**
 * Created by weking on 2017/10/18.
 */

public class DataUri {

    /**
     * 天气信息地址
     *
     * @return
     */
    public static final String getTianQiUri() {
        return "http://guolin.tech/api/weather?cityid=CN101270801&key=cb53723b4ce14fc385b3f9b19e3a964f";
    }

    /**
     * 广安要闻http://202.61.89.201/ls-integration/cmscontent/findFirst.do?numtwo=5&num=10
     * numtwo=5&num=10
     */
    public static final String GUANG_AN_YAO_WEN = "http://202.61.89.201/ls-integration/cmscontent/findFirst.do?";

    /**
     * 在线访谈往期访谈列表
     *
     * @param numtwo
     * @param num
     * @return
     */
    public static String getLIVE_ONLINE(int numtwo, int num) {
        return "http://202.61.89.201/ls-integration/cmscontent/findLiveThemeList.do?numtwo=" + numtwo + "&num=" + num;
    }

    /**
     * 往期访谈列表详细
     *
     * @param itemId
     * @return
     */
    public static String getLIVE_ONLINE_CONTENT(String itemId) {
        return "http://202.61.89.201/ls-integration/cmscontent/findLiveTheme.do?id=" + itemId;
    }

    /**
     * 往期访谈列表详细,网友心声
     *
     * @param itemId
     * @return
     */
    public static String getLIVE_ONLINE_CONTENT_QUESTIONS(String itemId) {
        return "http://202.61.89.201/ls-integration/cmscontent/findQuestion.do?id=" + itemId;
    }

    /**
     * 在线访谈直播
     */
    public static String getLIVE_ONLINE() {
        return "http://202.61.89.201/ls-integration/cmscontent/findZXFT.do";
    }

    /**
     * 获取直播详细
     *
     * @return
     */
    public static String getLIVE_ONLINE_CONTENT() {
        return "http://202.61.89.201/ls-integration/cmscontent/findLiveVideo.do";
    }

    /**
     * 获取网友心声
     *
     * @return
     */
    public static String getLIVE_ONLINE_SPEAK() {
        return "http://202.61.89.201/ls-integration/cmscontent/findVideoQuestion.do";
    }

    public static String getLIVE_ONLINE_SPEAK_UPLOAD(String name, String phone, String content) {
        return "http://202.61.89.201/ls-integration/cmscontent/addVideoQuestion.do? name=+" + name + "&phone=" + phone + "&content=" + content;
    }

    /**
     * 获取广安要闻地址
     * <p>
     * 开始到结束角标之间就是每页条数
     *
     * @param numtwo 开始角标
     * @param num    目标角标
     * @return
     */
    public static String getGUANG_AN_YAO_WEN(int numtwo, int num) {
        return GUANG_AN_YAO_WEN + "numtwo=" + numtwo + "&num=" + num;
    }

    /**
     * 版本检测地址
     *
     * @return
     */
    public static String getVERSION() {
        return "http://202.61.89.201/ls-integration/cmscontent/version.do";
    }

    /**
     * 获取推送
     *
     * @return
     */
    public static String getPushData() {
        return "http://www.guang-an.gov.cn/ls-integration/eamil/getpush.do";
    }

    /**
     * 基础地址
     * code=6d3bd246fce9435d8b556816dc6f0b3a
     * <p>
     * &numtwo=5
     * &num=10
     */
    public static final String ROOT_URI = "http://202.61.89.201/ls-integration/cmscontent/findZwywOne.do?";

    /**
     * 政务联播
     *
     * @param numtwo
     * @param num
     * @return
     */
    public static String getZHENG_WU_LIAN_BO(int numtwo, int num) {
        return ROOT_URI + "code=" + "d35ce3afe8b140af8cb1c70fc1e37c2a" + "&numtwo=" + numtwo + "&num=" + num;
    }

    /**
     * 常务会议
     *
     * @return
     */
    public static String getCHANG_WU_HUI_YI() {
        return ROOT_URI + "code=" + "613e82f006ed4bf3881164c47079bfa7&";
    }

    /**
     * 政府文件
     *
     * @return
     */
    public static String getZHENG_FU_WEN_JIAN() {
        return "http://202.61.89.201/ls-integration/cmscontent/xxgkzfwj.do?";
    }

    /**
     * 公式公告
     *
     * @return
     */
    public static String getGONG_SHI_GONG_GAO() {
        return ROOT_URI + "code=" + "3267302d672448ba9bfd8d37739ebe66&";
    }

    /**
     * 人事及招考
     *
     * @return
     */
    public static String getREN_SHI_JI_ZHAO_KAO() {
        return ROOT_URI + "code=" + "8d40ce9e925840089f5871cd4a637849&";
    }

    /**
     * 领导数据接口
     */
    public static String LADER_URI = "http://202.61.89.201/ls-integration/cmscontent/findld.do";

    /**
     * 市政府部门
     *
     * @return
     */
    public static String getSHI_ZHENG_BUM_MEN() {
        return ROOT_URI + "code=" + "79a2f98b6a9446b297b9b0a68064fd62&";
    }

    /**
     * 市政府直属单位
     *
     * @return
     */
    public static String getSHI_ZHENG_ZHI_SHU_DAN_WEI() {
        return ROOT_URI + "code=" + "96082c847c6c49aea85b3270417c18da&";
    }

    /**
     * 市政府国有企业
     *
     * @return
     */
    public static String getSHI_ZHENG_GUO_YOU_QI_YE() {
        return ROOT_URI + "code=" + "122c3dbcd2684fccb2257848558f43c5&";
    }

    /**
     * 中省驻市单位
     *
     * @return
     */
    public static String getZHONG_SHENG_ZHU_SHI_DAN_WEI() {
        return ROOT_URI + "code=" + "217b69c818f94f87905bf627ddce7220&";
    }

    /**
     * 园区管委会
     *
     * @return
     */
    public static String getYUAN_QU_GUAN_WEI_HUI() {
        return ROOT_URI + "code=" + "3d3dfdafb42e400d8863cee13847c74a&";
    }

    /**
     * 区市县人民政府
     *
     * @return
     */
    public static String getREN_MIN_ZHENG_FU() {
        return ROOT_URI + "code=" + "275a924a5cb04941ada91a4d206cf029&";
    }

    /**
     * 其他
     *
     * @return
     */
    public static String getQI_TA() {
        return ROOT_URI + "code=" + "79f6fecd171d45549f79aa711ac2c79b&";
    }

    /**
     * 便民信息
     *
     * @return
     */
    public static String getBIAN_MING_XIN_XI() {
        return ROOT_URI + "code=" + "ccbe62d2763f4b73861fc6d44486fe22&";
    }
}
